package com.sc.nft.entity.vo.merchantPledgeTask;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class AdminEcologyPointsDataVO {

    @ApiModelProperty(value = "平台可用总燃料")
    private String sumUsableEcologyPoints;

    @ApiModelProperty(value = "平台冻结总燃料")
    private String sumFrozenEcologyPoints;


    public void setSumUsableEcologyPoints(BigDecimal sumUsableEcologyPoints) {
        this.sumUsableEcologyPoints = sumUsableEcologyPoints.setScale(2,BigDecimal.ROUND_DOWN).toPlainString();
    }

    public void setSumFrozenEcologyPoints(BigDecimal sumFrozenEcologyPoints) {
        this.sumFrozenEcologyPoints = sumFrozenEcologyPoints.setScale(2,BigDecimal.ROUND_DOWN).toPlainString();
    }
}
